import pymysql



def get_connection():
    conn = pymysql.connect(host='rm-2zeu2bup91le1scnbpo.mysql.rds.aliyuncs.com',
           user='Phiin_1',
           password='439587426Yn',
           db='hyzdemo',
           charset='utf8',
           port=3306,
           cursorclass=pymysql.cursors.DictCursor)
    return conn

